package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcOldManSupplement;

/**
 * @author chenzheng
 * @description:老人额外补充表服务
 * @date 2019/7/28 14:27
 */
public interface OmcOldManSupplementService extends IService<OmcOldManSupplement> {

    // 保存或者跟新老人额外信息
   int saveOldManSupplement(OmcOldManSupplement oldManSupplementDto, LoginAuthDto loginAuthDto);

    /**
     * query oldman special case by oldman id
     *
     * @param oldmanId the oldman id
     *
     * @return the oldman special case
     */
    String queryOldmanSpecialCaseByOldmanId(Integer oldmanId);

    /**
     * 通过id修改
     * @param: [omcOldManSupplement]
     * @return: int
     */
    int updateById(OmcOldManSupplement omcOldManSupplement);
    /*
    * 修改大健康数据
    * */
    Integer updateHealth(OmcOldManSupplement omcOldManSupplement);
}
